part of 'week_report_bloc.dart';

sealed class WeekReportEvent extends Equatable {
  const WeekReportEvent();
}

class DianShangEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;
  final int blGrouping;
  final List<String> dianShangMaps;
  final bool isQueryLastMonth;

  const DianShangEvent({required this.dianShangMaps, required this.startDate, required this.endDate, required this.blGrouping, required this.isQueryLastMonth});

  @override
  List<Object> get props => [dianShangMaps];
}

class RINCOSEvent extends WeekReportEvent {
  final List<String> accountNo;

  const RINCOSEvent({required this.accountNo});

  @override
  List<Object> get props => [accountNo];
}

class WaiPanZhanBiEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;

  const WaiPanZhanBiEvent({required this.startDate, required this.endDate});

  @override
  List<Object> get props => [startDate, endDate];
}

class TaoPiaoXiaoShouShiYongEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;

  const TaoPiaoXiaoShouShiYongEvent({required this.startDate, required this.endDate});

  @override
  List<Object> get props => [startDate, endDate];
}

// 月费和套票解析
class MonthFeeAndTaoPiaoEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;

  const MonthFeeAndTaoPiaoEvent({required this.startDate, required this.endDate});

  @override
  List<Object?> get props => [startDate, endDate];
}

// 电商数据解析
class DianShangDataEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;
  final int month;

  const DianShangDataEvent({required this.startDate, required this.endDate, required this.month});

  @override
  List<Object?> get props => [startDate, endDate, month];
}

// 汇总数据解析
class HuiZongDataEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;
  final List<CustomerBeanData> cDataTemp;
  final List<CustomerBeanData> nDataTemp;

  const HuiZongDataEvent({required this.startDate, required this.endDate, required this.cDataTemp, required this.nDataTemp});

  @override
  List<Object?> get props => [startDate, endDate, cDataTemp, nDataTemp];
}

// 调整审核
class AdjustmentAuditEvent extends WeekReportEvent {
  final String startDate;
  final String endDate;
  final String auditType;
  final String auditState;
  final List<String> jmCode;

  const AdjustmentAuditEvent({required this.startDate, required this.endDate, required this.auditType, required this.auditState, required this.jmCode});
  @override
  List<Object?> get props => [startDate, endDate, auditType, auditState, jmCode];

}
